package com.ssh.service.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.base.service.impl.BaseServiceImpl;
import com.ssh.dao.ITestDao;
import com.ssh.model.TestModel;
import com.ssh.service.ITestService;

/**
 * 文  件  名:TestServiceImpl.java
 * 创建日期:2012-8-28下午03:59:39
 * 作        者:guorui  东营东软电脑科技有限公司 版权所有
 * 说        明:
 */
@Service
public class TestServiceImpl extends BaseServiceImpl implements ITestService {
	@Resource
	private ITestDao testDaoImpl;
	/* (non-Javadoc)
	 * @see com.ssh.service.ITestService#add(com.ssh.model.TestModel)
	 */
	@Override
	public void add(TestModel testModel) {
		testDaoImpl.add(testModel);
	}
	
	/* (non-Javadoc)
	 * @see com.ssh.service.ITestService#getList()
	 */
	@Override
	public List<TestModel> findList() {
		return testDaoImpl.findList(TestModel.class);
	}
	
}
